﻿import {addMarketing} from '../../../api/Promotion/Marketing';
let brand={
    data() {
        return {
            //申请单
            MarketingInfo:{
                marketingId:"",  //序号
                marketingName:"",  //活动名字
                marketingDate:"", //活动时间
                marketingGiftid:"", //赠品id
                rewardWay:"",  //赠送方式
                marketingApprovalstatus:"",
                marketingApplicant:"", //申请人
                marketingApplicanttime:"", //申请时间

                giftSum:"",  //赠品数量
            },

            Info:[]

        };
    },
    methods: {
        select2() { //选择商品
            this.$router.push({
                path: "/good",
            })
        },
        backtrack() {  //返回
            this.$router.push({
                path: "/Marketing",
            })
        },
        addMarketing() {
            addMarketing(this.PromotionInfo)
        },
        selectGift(){
        this.$router.push({
            path:"/gift"
        })
        }
    },
};

export default brand;

